 package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Feedback;

public interface FeedbackService extends IService<Feedback> {
    
    // 提交反馈
    boolean submitFeedback(Feedback feedback);
    
    // 回复反馈
    boolean replyFeedback(Long id, String reply, Long replyUserId);
    
    // 更新反馈状态
    boolean updateStatus(Long id, Integer status);
    
    // 删除反馈
    boolean deleteFeedback(Long id);
    
    // 批量删除反馈
    boolean batchDeleteFeedbacks(Long[] ids);
    
    // 分页查询反馈列表
    Page<Feedback> getFeedbackList(Integer pageNum, Integer pageSize, Long userId, Integer type, Integer status);
    
    // 获取反馈详情
    Feedback getFeedbackInfo(Long id);
}